package com.slipper.sfts.api.broker.service;

import com.slipper.common.bo.Result;
import com.slipper.common.feign.ServiceClient;
import com.slipper.common.annotation.FeignRequestMapping;
import com.slipper.sfts.api.broker.bo.BrokerBO;

import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 券商信息表
 */
@ServiceClient
public interface IBrokerSv {
    @FeignRequestMapping("/broker/queryBy")
    Result<BrokerBO> queryBy(@RequestBody String id);

    @FeignRequestMapping("/broker/queryList")
    Result<List<BrokerBO>> queryList(@RequestBody BrokerBO bo);

    @FeignRequestMapping("/broker/queryPage")
    Result<List<BrokerBO>> queryPage(@RequestBody BrokerBO bo);

    @FeignRequestMapping("/broker/save")
    Result<?> save(@RequestBody BrokerBO bo);
    
    @FeignRequestMapping("/broker/delete")
    Result<?> delete(@RequestBody BrokerBO bo);
}
